#include <stdio.h>
#include <string.h>
#include <stdlib.h>

struct Stu{
	char name[10];
	int num;
	int age;
	float money;
};


int main()
{
    struct Stu hero0={"zjd0",333,23,50.f};
    struct Stu hero1={"zjd1",666,23,50.f};
    struct Stu hero2={"zjd2",999,23,50.f};
    struct Stu hero3={"zjd3",666,23,50.f};
    struct Stu hero4={"zjd4",333,23,50.f};

    struct Stu hero_arr[5]={hero0,hero1,hero2,hero3,hero4};
    
    for(int i=0;i<5;i++)
    {
        printf("%s-%d-%f\n",hero_arr[i].name,hero_arr[i].age,hero_arr[i].money);
    }
    
    
    //system("pause");
	return 0;
} 
